﻿<%@ Page Title="Carrito" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true"
    CodeBehind="CarProducts.aspx.cs" Inherits="SuspirosWeb.Formulario_web15" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 215px;
        }
        .style2
        {
            width: 263px;
        }
        .style3
        {
            width: 250px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="carrito">
        <table style="width: 100%;">
            <tr>
                <td class="style1">
                    &nbsp;
                </td>
                <td class="style2">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label3" runat="server" Text="Nombre"></asp:Label>
                </td>
                <td class="style2">
                    <asp:Label ID="lblNombre" runat="server"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;
                </td>
                <td class="style2">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label1" runat="server" Text="Orden"></asp:Label>
                </td>
                <td class="style2">
                    <asp:Label ID="lblOrden" runat="server"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label2" runat="server" Text="Status"></asp:Label>
                </td>
                <td class="style2">
                    <asp:Label ID="lblStatus" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblMensaje" runat="server"></asp:Label>
                    &nbsp;
                </td>
            </tr>
        </table>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            AutoGenerateDeleteButton="True" onrowdeleting="GridView1_RowDeleting">
            <Columns>
                <asp:BoundField DataField="RowID" HeaderText="ID" />
                <asp:BoundField DataField="RowNombre" HeaderText="Nombre" />
                <asp:BoundField DataField="RowPrecio" HeaderText="Precio" />
            </Columns>
        </asp:GridView>
        <table style="width: 100%;">
            <tr>
                <td>
                    &nbsp;
                </td>
                <td class="style3">
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnComprar" runat="server" Text="Continuar compra" OnClick="btnComprar_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
